package org.feiye.studyday17.computer;

public class TestComputer {

	public static void main(String[] args) {
		Computer c = new Computer("惠普");
		c.setCpu(new InterCpu("英特尔", "3.8Ghz"));
		c.setDisk(new kingDisk("华硕", "1T"));
		c.setRAM(new AsvsRam("联想", "4G"));
		System.out.println(c);
	}

}
